package com.dashu.authority.servie;

import java.util.List;
import java.util.Map;

import com.dashu.authority.entity.AuthenticationInfo;
import com.dashu.authority.exception.AuthorityException;

public interface AuthenticationInfoService extends BaseService<AuthenticationInfo> {
	public List<AuthenticationInfo> queryAllByExample(AuthenticationInfo entity,int pageNum, int pageSize) throws AuthorityException;		
	public String insertEntity(String loginId,String communityCode)throws AuthorityException;		
	public Map<String, Object> deleteByIds(Integer[] ids) throws AuthorityException;
	public AuthenticationInfo queryInfoByToken(String token) throws AuthorityException;
	public int updateInfoByToken(Integer id) throws AuthorityException;
}
